﻿<Window x:Class="YLServerInterface.Forms.frmAddTemplate"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="frmAddTemplate" Height="137" Width="280">
    <Grid Grid.Row="0" Margin="3">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <TextBlock
                    Grid.Row="0"
                    Grid.Column="0">模板名称：</TextBlock>
        <TextBox 
                    Grid.Row="0"
                    Grid.Column="1"
                     Name="txtTemplateName" 
                         ></TextBox>
        <TextBlock 
                    Grid.Row="1"
                    Grid.Column="0">是否启用：</TextBlock>
        <CheckBox
                    Grid.Row="1"
                    Grid.Column="1"
                    Name="ckbTemplateIsEnable"></CheckBox>
        <TextBlock
                    Grid.Row="2"
                    Grid.Column="0"
                >定价：</TextBlock>
        <TextBox
                    Grid.Row="2"
                    Grid.Column="1"
                    Name="txtTemplatePrice"></TextBox>
        <Button
            Grid.Row="3"
            Name="btnAdd" Click="btnAdd_Click">创建（一个还不完善的模板）</Button>
    </Grid>

</Window>
